import {save, read, clear} from './storage'

const TokenKey = 'JWS-Token'

export function getToken () {
  return read(TokenKey)
}

export function setToken (token) {
  return save(TokenKey, token)
}

export function removeToken () {
  return clear(TokenKey)
}
